#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
class QTableWidget;
class QItemSelection;
class QLabel;

class MainWindow : public QWidget
{
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
public slots:
    void updateSelection(const QItemSelection& selected,
                         const QItemSelection& deselected);
    void changCurrent(const QModelIndex& current, const QModelIndex& previous);
private:
    QTableWidget *tableWidget;
    QLabel* statue;
};


#endif // MAINWINDOW_H
